package com.laicunba.service.activity.dataqueryimpl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.laicunba.service.activity.ActivityDataQueryService;
import com.laicunba.service.activity.ActivityDataQueryServiceTemplate;

@Service
public class InviteTopInfoActivityDataQueryServiceImpl extends ActivityDataQueryServiceTemplate
		implements ActivityDataQueryService {

	@Override
	public String getDataCode() {
		return "INVITE_TOP_INFO";
	}

	@Override
	public Object query(String uid, Map<String, String> map) {
		if (map == null) {
			map = new HashMap();
		}
		map.put("uid", uid);
		return queryDao.selectList("ACTIVITY_DATA.INVITE_TOP_INFO", map);
	}

}
